import axios from '@/libs/request'
// 信息化---政务信息化项目情况
export const insert = (data) => {
  return axios.request({
    url: '/api/as/cme2/yqsendinfo/saveZwxxhInfo',
    data: data,
    type: 'post'
  })
}
export const update = (data) => {
  return axios.request({
    url: '/api/as/cme2/yqsendinfo/saveZwxxhInfo',
    data: data,
    type: 'post'
  })
}
export const deletes = (data) => {
  return axios.request({
    url: '/api/as/cme2/yqsendinfo/deleteZwxxhInfo',
    data: data,
    type: 'post'
  })
}
export const findPageList = (pageInfo) => {
  return axios.request({
    url: '/api/as/cme2/yqsendinfo/zwxxhInfoList',
    data: pageInfo,
    type: 'get'
  })
}
export const getDictInfoList = (data) => {
  return axios.request({
    url: '/api/as/cme2/yqsendinfo/codeList',
    data: data,
    type: 'get'
  })
}
export const updateDeptCommitStatus = (data) => {
  return axios.request({
    url: '/api/ac/cme2/transferPersonService/updateDeptCommitStatus',
    data: data,
    type: 'post'
  })
}
export const updateDeptRejectStatus = (data) => {
  return axios.request({
    url: '/api/ac/cme2/transferPersonService/updateDeptRejectStatus',
    data: data,
    type: 'post'
  })
}

export const getById = (data) => {
  return axios.request({
    url: '/api/as/cme2/yqsendinfo/getZwxxhInfo',
    data: data,
    type: 'get'
  })
}
export const updateDeptAuditStatus = (data) => {
  return axios.request({
    url: '/api/ac/cme2/transferPersonService/updateDeptAuditStatus',
    data: data,
    type: 'post'
  })
}
export const updateLeaderAuditStatus = (data) => {
  return axios.request({
    url: '/api/ac/cme2/transferPersonService/updateLeaderAuditStatus',
    data: data,
    type: 'post'
  })
}
export const getJsdwList = (data) => {
  return axios.request({
    url: '/api/as/cme2/yqsendinfo/jwCodeList',
    data: data,
    type: 'get'
  })
}
